convert Value
Return the amount of toCurrency that the given value of fromCurrency is currently worth.
fun convertValue(value: Long, fromCurrency: CurrencyType, toCurrency: CurrencyType, userRate: Double): Long
Return the amount of 'toCurrency' obtained by exchanging 'value' of 'fromCurrency' at the rate 'rate'
fun convertValue(value: Long, fromCurrency: CurrencyType, toCurrency: CurrencyType, effectiveDate: Int): Long
Return the amount of toCurrency that the given value of fromCurrency was worth on the given date.